﻿@{
    Layout = "~/Areas/Admin/Views/Shared/_Layout.cshtml";
}

<h3>编辑油画信息 @ViewBag.Painting.PaintingNumber <span class="@(string.IsNullOrWhiteSpace(ViewBag.Message)?"" : "input-notification") success png_bg">@ViewBag.Message</span></h3>
<form method="post" id="paintingform" action="/admin/painting/doedit/@ViewBag.Painting.PaintingId" enctype="multipart/form-data"> 
    <p><label>油画标题</label>
    <input type="text" class="text-input small-input" value="@ViewBag.Painting.Title" name="title"/>
    </p><p><label>油画描述</label>
    <textarea class="text-input textarea wysiwyg" name="description">@ViewBag.Painting.Description</textarea>
    </p><p><label>油画题材</label>
    <input type="text" class="text-input small-input" value="@ViewBag.Painting.Subjects" name="subject"/>
    </p><p><label>油画作者</label>
    <input type="text" class="text-input small-input" value="@ViewBag.Painting.Authorships" name="authorship"/>
    </p><p>
    可以喷绘<input type="checkbox" @(ViewBag.Painting.HandEnable?"checked":"") name="handenable"/>
    &nbsp;&nbsp;&nbsp;&nbsp;
    可以手绘<input type="checkbox" @(ViewBag.Painting.PrinterEnable ? "checked" : "") name="printerenable"/>
    </p><p><label>拼图数</label>
    <input type="text" class="text-input small-input" value="@ViewBag.Painting.Frames" name="frames"/>
    </p><p><label>油画标签</label>
    <input type="text" class="text-input small-input" value="@ViewBag.Painting.Tags" name="tag"/>
    </p><p><input type="submit" class="button" value="保存"/></p>
</form>